/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.eurotrader.componentes;

/**
 *
 * @author PROG01
 */




public class BeanCampoNormal {

    private String required = "false";
    private String id = "teste";

    public String getId() {
        System.out.println("entrei aqui -------------------------------");
        if (required.equals("true")){
            System.out.println("aqui 2333333333333333333333333333333333333333");
            return "NN" + id;
        }else{
            System.out.println("000000000000000000000000000000000000000000000::: " + id);

            return id;
        }
    }

    public void setId(String id) {
        System.out.println("set id " + id);
        this.id = id;
    }

    public String getRequired() {
        return required;
    }

    public void setRequired(String required) {
        this.required = required;
    }

}
